'use strict';
const Controller = require('egg').Controller;

class HomeController extends Controller {
  async list() {
    const ctx = this.ctx;

    const result = await ctx.service.home.list();
    ctx.body = result;
    ctx.status = 200;

  }
}

module.exports = HomeController;
